package com.heo.music.player.dao;

import com.heo.music.player.entity.Playlist;
import com.heo.music.player.entity.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * created on 2024-05-12 11:29
 *
 * @author 星天无极
 **/
public interface PlaylistDao extends JpaRepository<Playlist, Integer> {
    List<Playlist> findAllByUserInfo(UserInfo userInfo);
}
